#ifndef _CAMERA
#define _CAMERA

#include "Base.h"
#include "Vector.h"
#include "Ray.h"
#include "ONB.h"

class Camera
{
public:

  ONB p;
  Vector c,a,b;
  ui32 width, height;
  
  Camera(
    const Vector& e=Vector(0,0,0),
    const Vector& g=Vector(0,0,-1),
    const Vector& up=Vector(0,1,0),
    const fp s=20.0f
  );
  //Camera(const Camera& c);
  Ray GetRay(const ui32 x, const ui32 y);
};

#endif // _CAMERA
